package com.icoolkj.ms.rbac.mapper;

import com.icoolkj.ms.rbac.bo.UriPermissionBO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysPermissionMapper {

    List<String> listPermissionByUserIdAndUserType(@Param("userId") Long userId, @Param("userType") String userType);

    List<UriPermissionBO> listUriPermissionInfo(@Param("userType") String userType);

    List<String> selectRoleKeyListByUserId(@Param("userId") Long userId);
}
